package com.itheima.api.integer;

public class Integer3Demo {
    public static void main(String[] args) {
        String s1 = "111";
        int i1 = 222;
        System.out.println("(s1 + i1) = " + (s1 + i1));

        int i2 = Integer.parseInt(s1);  //将字符串变成int类型数据
        System.out.println("(i2 + i1) = " + (i2 + i1));

        int i3 = 100;
        System.out.println(i3 + "" + 100);
        String s2 = String.valueOf(i3);
        System.out.println((s2 + 100));
    }
}
